﻿using BookStoreApp.Models;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace BookStoreApp.Data
{
    public class BookStoreManager
    {
        IRestService restService;

        public BookStoreManager(IRestService service)
        {
            restService = service;
        }

        public Task<List<Author>> GetAuthorAsync()
        {
            return restService.RefreshDataAsync();
        }

    }
}
